<!DOCTYPE html>
<html>
<body> 

<h1>A Web Page</h1>

<p id="demo"></p>
<button type="button" onclick="myFunction()">试一试</button>

<script src="test.js"></script>

<script src="testjs.js"></script>

<script src="libs/structures/structures.js"></script>


<script>
var txt = "";
var person = {fname:"Bill", lname:"Gates", age:62}; 
var x;
for (x in person) {
  txt += person[x] + " ";
}
document.getElementById("demo").innerHTML = txt;
var person={firstName:"Bill",lastName:"Gates",age:6};
person.firstName=1.23;
console.log(person.firstName);


</script> 

</body>
</html>